package com.woniuxy.yoga.business.model.form.businessaccount;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
@ApiModel("商家发送注册验证码参数对象")
public class BusinessRegisterPhoneForm {
    //手机号
    @ApiModelProperty("手机号")
    @Pattern(regexp = "^1[3456789]\\d{9}$", message = "手机号格式不正确")
    private String accountPhone;
}
